<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Jialeo\LaravelSchemaExtend\Schema;

class AddSettleColumnToMapNationalIndustrialParkTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('map_national_industrial_park', function (Blueprint $table) {
            $table->unsignedTinyInteger('settle')->default(0)->after('status')->comment('入驻状态');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('map_national_industrial_park', function (Blueprint $table) {
            $table->dropColumn('settle');
        });
    }
}
